|
irsense6 2.2.0
|
This file contains API for IR Sense 6 Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_i2c_master.h"Go to the source code of this file.
Data Structures | |
| struct | irsense6_t |
| IR Sense 6 Click context object. More... | |
| struct | irsense6_cfg_t |
| IR Sense 6 Click configuration object. More... | |
Macros | |
| #define | IRSENSE6_CMD_FULL_MEASUREMENT 0xAA |
| IR Sense 6 commands list. | |
| #define | IRSENSE6_RAW_DATA_RESOLUTION 0xFFFFFFul |
| IR Sense 6 temperature calculation setting. | |
| #define | IRSENSE6_OBJ_TEMP_RES 130 |
| #define | IRSENSE6_OBJ_TEMP_OFFSET 20 |
| #define | IRSENSE6_AMB_TEMP_RES 105 |
| #define | IRSENSE6_AMB_TEMP_OFFSET 20 |
| #define | IRSENSE6_DEVICE_ADDRESS 0x38 |
| IR Sense 6 device address setting. | |
| #define | IRSENSE6_MAP_MIKROBUS(cfg, mikrobus) |
| MikroBUS pin mapping. | |
Enumerations | |
| enum | irsense6_return_value_t { IRSENSE6_OK = 0 , IRSENSE6_ERROR = -1 } |
| IR Sense 6 Click return value data. More... | |
Functions | |
| void | irsense6_cfg_setup (irsense6_cfg_t *cfg) |
| IR Sense 6 configuration object setup function. | |
| err_t | irsense6_init (irsense6_t *ctx, irsense6_cfg_t *cfg) |
| IR Sense 6 initialization function. | |
| err_t | irsense6_i2c_write (irsense6_t *ctx, uint8_t *data_in, uint8_t len) |
| IR Sense 6 I2C write function. | |
| err_t | irsense6_i2c_read (irsense6_t *ctx, uint8_t *data_out, uint8_t len) |
| IR Sense 6 I2C read function. | |
| void | irsense6_enable_device (irsense6_t *ctx) |
| IR Sense 6 enable device function. | |
| void | irsense6_disable_device (irsense6_t *ctx) |
| IR Sense 6 disable device function. | |
| err_t | irsense6_read_data (irsense6_t *ctx, float *obj_temp, float *amb_temp) |
| IR Sense 6 read temperature data function. | |
This file contains API for IR Sense 6 Click Driver.